package com.phkj.qdh.base

import android.view.ViewGroup
import androidx.fragment.app.DialogFragment
import com.phkj.qdh.R

abstract class BaseDialogFragment:DialogFragment() {
    override fun onStart() {
        super.onStart()
        dialog?.window?.run {
            setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
            setBackgroundDrawableResource(R.color.transparent)
        }
    }

}